#include "circle.h"

#define PI 3.1415926

void Circle::SetCenter(const Point p)
{
	center = p;
}

void Circle::SetRadius(float r)
{
	radius = r;
}

float Circle::GetArea()
{
	return PI* radius * radius;
}

Circle::Circle()
{
	center = Point(0, 0);
	radius = 0;
}

